import request from "@/utils/request";
export const getSkuDetails = (data) => {
  return request({
    baseURL: window.APP_GETEWAY.goods,
    url: "/v1/goods/sku/detail",
    method: "POST",
    data,
  });
};

//获取订单详情
export const getOrderDetail = (data) =>
  request({
    baseURL: window.APP_GETEWAY.oms,
    url: `order/list`,
    method: "post",
    data,
  });
//获取头程单信息
export const getOrderShipmentInfo = (data) =>
  request({
    baseURL: window.APP_GETEWAY.tc,
    url: `/tc_v1_pc/order/order-info`,
    method: "post",
    data,
  });
// 获取国家option
export function getCountry() {
  return request({
    baseURL: window.APP_GETEWAY.goods,
    url: `/api/goods/get-countrys`,
    method: "GET",
  });
}
